﻿<Window x:Class="PotatoSoft.CustomControl.Test.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ad="clr-namespace:AvalonDock;assembly=AvalonDock"
        xmlns:test="clr-namespace:PotatoSoft.CustomControl.Test"
        Title="MainWindow" Height="350" Width="525">
    <Grid Name="root">
        <Grid.RowDefinitions>
            <RowDefinition Height="20"/>
            <RowDefinition Height="20"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
    
        <Menu Style="{StaticResource menu}" IsMainMenu="True" MaxHeight="20" VerticalAlignment="Top">
            <MenuItem Header="File">
                <MenuItem Header="New"/>
            </MenuItem>
            <MenuItem Header="Edit"></MenuItem>
        </Menu>
        <WrapPanel Grid.Row="1" Background="{DynamicResource jasny}"></WrapPanel>
           
        <ad:DockingManager x:Name="dock" Grid.Row="2"   >
            <ad:ResizingPanel Orientation="Vertical">
                <ad:ResizingPanel Orientation="Horizontal">
                    <ad:DockablePane Background="#F9F9F9" ad:ResizingPanel.ResizeWidth="150">
                        <ad:DockableContent Title="Solution Explorer" >
                            
                        </ad:DockableContent>

                    </ad:DockablePane>
                    <ad:DockablePane  Background="#F9F9F9" >
                        <ad:DockableContent Title="My Document"/>
                    </ad:DockablePane>
                </ad:ResizingPanel>
                <ad:DockablePane    Background="#F9F9F9"  ad:ResizingPanel.ResizeHeight="100">
                    <ad:DockableContent Title="Output">
                        <test:OutputControl x:Name="test"></test:OutputControl>
                    </ad:DockableContent>

                </ad:DockablePane>

            </ad:ResizingPanel>
        </ad:DockingManager>
    </Grid>
</Window>
